package com.shiyi.core.enumsource;

public enum SysRoleEnum {

    COMMON("common","普通用户"),
    ADMIN("admin","系统管理员"),
    LOGIN("login","登录权限"),
    DEPTUSER("deptusermanager","部门用户管理员"),
    OTHERSYSTEMMANAGER("othersystemmanager","业务应用系统管理员");

    private final String code;
    private final String value;

    private SysRoleEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }
    public String getCode() { return code;}
    public String getValue() { return value; }
}

